/**
 * 
 */
package com.wsd.dao;

import java.util.List;

import com.wsd.bean.Category;

/**
 * @author TuZiJun
 *
 */
public interface CategoryDaoInterface {

	public void save(Category transientInstance);

	public void delete(Category persistentInstance);

	public Category findById(java.lang.Integer id);

	public List<Category> findAll();
	public List<Category> findByLevel(int level);
	
	//xiaoe
	public List findByExample(Object exampleEntity);
	public void persist(Object entity);
	public void update(Category category);
	/**
	 * 
	 * @param rgt
	 */
	public void updateGt(int rgt,int num);
}
